package com.nanhai.buddhist.college.module.study.convert.classclockrecord;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.classclockrecord.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.classclockrecord.ClockRecordDO;

/**
 * 打卡记录 Convert
 *
 * @author AKai
 */
@Mapper
public interface ClockRecordConvert {

    ClockRecordConvert INSTANCE = Mappers.getMapper(ClockRecordConvert.class);

    ClockRecordDO convert(ClockRecordCreateReqVO bean);

    ClockRecordDO convert(ClockRecordUpdateReqVO bean);

    ClockRecordRespVO convert(ClockRecordDO bean);

    List<ClockRecordRespVO> convertList(List<ClockRecordDO> list);

    PageResult<ClockRecordRespVO> convertPage(PageResult<ClockRecordDO> page);

    List<ClockRecordExcelVO> convertList02(List<ClockRecordDO> list);

}
